<?php


namespace App\Constants;


class VerifyCodeType
{
    /**
     * 绑定手机或者邮箱验证码
     */
    const TYPE_BIND = 10;
    /**
     * 忘记密码验证码
     */
    const TYPE_FORGET_PASSWORD = 20;
    /**
     * 重新绑定验证码
     */
    const TYPE_REBIND = 30;
    /**
     * 忘记支付密码认证
     */
    const TYPE_RESET_PAYMENT = 40;
    /**
     * 注册验证码
     */
    const TYPE_SIGN_UP = 50;
    /**
     * 登陆验证码
     */
    const TYPE_LOGIN = 60;
    /**
     * 修改密码验证码
     */
    const TYPE_UPDATE_PWD = 70;
    /**
     * 修改手机验证码
     */
    const TYPE_UPDATE_TEL = 80;
    /**
     * 确认收款
     */
    const TYPE_CONFIRM_PAYMENT = 90;

    public static $lib_type = [
//        self::TYPE_BIND => '绑定手机或者邮箱验证码',
//        self::TYPE_FORGET_PASSWORD => '忘记密码验证码',
//        self::TYPE_REBIND => '重新绑定验证码',
//        self::TYPE_RESET_PAYMENT => '忘记支付密码认证',
//        self::TYPE_SIGN_UP => '注册验证码',
//        self::TYPE_LOGIN => '登陆验证码',
//        self::TYPE_UPDATE_PWD => '修改密码验证码',
//        self::TYPE_UPDATE_TEL => '修改手机验证码',
//        self::TYPE_CONFIRM_PAYMENT => '确认收款',
        self::TYPE_BIND => 'Bind email code ',
        self::TYPE_FORGET_PASSWORD => 'Forget password code ',
        self::TYPE_REBIND => 'Rebind code ',
        self::TYPE_RESET_PAYMENT => 'Forget pay password code ',
        self::TYPE_SIGN_UP => 'Register code ',
        self::TYPE_LOGIN => 'Login code ',
        self::TYPE_UPDATE_PWD => 'Update password code ',
        self::TYPE_UPDATE_TEL => 'Update mobile code ',
        self::TYPE_CONFIRM_PAYMENT => 'Confirm payment code ',
    ];
}
